package com.joinway.framework.bean;

import org.apache.commons.lang3.builder.ToStringStyle;

import com.joinway.framework.bean.utils.MaskedReflectionToStringBuilder;

public abstract class BaseBean implements TraceableBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2121027215580643136L;

	@Override
	public String toString() {
		return new MaskedReflectionToStringBuilder(this, getToStringStyle()).toString();
	}

	protected ToStringStyle getToStringStyle(){
		return ToStringStyle.MULTI_LINE_STYLE;
	}
}
